/*
 * NCSObject.h
 *
 *  Created on: Aug 27, 2017
 *      Author: zjf
 */

#ifndef SRC_NCSOBJECT_H_
#define SRC_NCSOBJECT_H_

#include <string>
#include <Poco/Logger.h>

using namespace Poco;

namespace ncs
{

class NCSObject
{
public:
	NCSObject(const std::string& name = "");
	virtual ~NCSObject();

	Logger& logger() const { return _logger; }

protected:
	std::string& getName() { return _name; }

private:
	std::string _name;
	Poco::Logger& _logger;
};

} /* namespace utils */

#endif /* SRC_NCSOBJECT_H_ */
